package com.zhang.sharding.entity;

import com.zhang.sharding.enums.GlobalEventType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 供应商修改日志对象 supplier_audit_log
 *
 * @author Jayden
 * @date 2024-07-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SupplierAuditLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 日志唯一id
     */
    private Long id;

    /**
     * 企业id
     */
    private Long enterpriseId;

    /**
     * 集团供应商ID
     */
    private Long supplierMainId;

    /**
     * 供应商id(企业级)
     */
    private Long supplierSubId;

    /**
     * 供应商草稿id
     */
    private Long supplierDraftId;

    /**
     * 事件类型
     */
    private GlobalEventType eventType;

    /**
     * 审批流实例id
     */
    private Long wfInsId;

    /**
     * 修改内容
     */
    private String details;

}
